package com.smartwebx.ha.dal.assign.dao;

import com.smartwebx.ha.dal.assign.bean.HaUser;
import com.smartwebx.ha.dal.assign.bean.HaUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface HaUserMapper {
    int countByExample(HaUserExample example);

    int deleteByExample(HaUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(HaUser record);

    int insertSelective(HaUser record);

    List<HaUser> selectByExample(HaUserExample example);

    HaUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") HaUser record, @Param("example") HaUserExample example);

    int updateByExample(@Param("record") HaUser record, @Param("example") HaUserExample example);

    int updateByPrimaryKeySelective(HaUser record);

    int updateByPrimaryKey(HaUser record);
    
    @Select("select * from ha_user where name like #{name}")
    List<HaUser> getName(@Param("name")String name);
}